From: Juanma Barranquero Date: Thu, 14 Jun 2007 00:07:15 +0000 (+0000) Subject: (pcomplete-restore-windows): Remove redundant check. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~18405 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ea787d4086d82ccf4549e5861249fc2f7f1438fc;p=emacs.git (pcomplete-restore-windows): Remove redundant check. --- diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el index c1da9fb9132..efb5980766d 100644 --- a/lisp/pcomplete.el +++ b/lisp/pcomplete.el @@ -934,7 +934,7 @@ generate the completions list. This means that the hook (if pcomplete-last-window-config (let* ((cbuf (get-buffer "*Completions*")) (cwin (and cbuf (get-buffer-window cbuf)))) - (when (and cwin (window-live-p cwin)) + (when (window-live-p cwin) (bury-buffer cbuf) (set-window-configuration pcomplete-last-window-config)))) (setq pcomplete-last-window-config nil